﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OOP_面向对象编程._2_继承._2._3_抽象继承_abstract
{
    public class GoodPeople:People
    {
        //必须实现抽象类中的抽象方法，并且要用override关键字
        public override void Eat()
        {
            Console.WriteLine("吃");
        }
        public string eye {  get; set; }
    }
}
